package com.randb.easyhttp.func;

import com.randb.easyhttp.cache.model.CacheResult;

import io.reactivex.functions.Function;

/**
 * User: RandBII
 * Date: 2020/5/27
 * Description:
 */
public class CacheResultFunc<T> implements Function<CacheResult<T>, T> {

    @Override
    public T apply(CacheResult<T> tCacheResult) throws Exception {
        return tCacheResult.data;
    }



}
